// 用来管理项目的所有的接口
import http from "./http";

export const ratedApi = (params) => http.get("/rated/list", params);
export const moviesApi = (params) => http.get("/movies/list", params);

// 加载更多
export const moviesMoreApi = (data) => http.post("/movies/more", data);

// 详情数据
export const detailApi = (data) => http.post("/movies/detail", data);

// 城市选择页
export const cityApi = (params) => http.get("/area/list", params);
